{
    "targets": [
        {
            "target_name": "pisa-middleware",
            "cflags!": ["-fno-exceptions"],
            "cflags_cc!": ["-fno-exceptions"],
            "sources": [
                "src/cxx/Main.cc"
            ],
            "include_dirs": [
                "include",
                "src/cxx/head_file",
                "<!@(node -p \"require('node-addon-api').include\")"
            ],
            'defines': [
                "__linux__",
                "NAPI_DISABLE_CPP_EXCEPTIONS"
            ],
            "libraries": [
                "-llfs"
            ]
        }
    ]
}
